SSML Tags not working
# support
p
is there any way to enable SSML when talking to the agent through the web dashboard? In my tests, the agent has been reading out the XML tags instead of following the instructons. Call IDs: 019baeac-7a86-7aaf-9235-d6063f8949b2 019baeb0-7388-7ff7-97b6-ef70395a8ca9
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
p
Confirming that the model outputs valid SSML: Good afternoon. I'm calling on behalf of a customer. May I take a moment of your time?
SSML doesn't seem to work for Azure voices via the SDK either, it does seem to work for Elevenlabs voices, but they don't support some SSML tags like say-as
s
SSML Tags works well only for 11 labs voice services. Try it! You need to enable "enableSsmlParsing" : true via API. example: "voice": { "model": "eleven_flash_v2_5", "voiceId": "sarah", "provider": "11labs", "enableSsmlParsing": true }
p
Do you plan on supporting this for Azure eventually? Azure has more support for SSML than Elevenlabs
c
Hello, Azure does indeed have extensive SSML support, and Vapi does support SSML with Azure voices. However, there are important limitations in how SSML is processed. SSML Processing Limitations The issue you're experiencing - where XML tags are being read aloud instead of processed as SSML instructions - is a known limitation. SSML tags in LLM responses are typically stripped out rather than processed . Web Dashboard Testing For testing SSML through the web dashboard, the behavior may differ from production calls. The dashboard testing environment might not fully process SSML markup the same way as live calls Can you please give: • Your call IDs showing the issue • Examples of the SSML you're trying to use • Your current Azure voice configuration • Request for clarification on SSML processing capabilities